package com.qfedu.meidijiaju.mapper;

import com.qfedu.meidijiaju.entity.CommentsYxy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author meidimeiju
 * @since 2022-10-15
 */
public interface CommentsYxyMapper extends BaseMapper<CommentsYxy> {

    List<CommentsYxy> findCommentsByCardId(int id);

    int addComments(CommentsYxy commentsYxy);
}
